package com.zbkj.crmeb.chant.service;

import com.crmeb.core.common.CommonResult;
import com.common.PageParamRequest;
import com.github.pagehelper.PageInfo;
import com.zbkj.crmeb.chant.model.ChannelPicking;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.crmeb.chant.request.PickingListRequest;
import com.zbkj.crmeb.chant.request.PickingProductsRequest;
import com.zbkj.crmeb.chant.request.SavePickingRequest;
import com.zbkj.crmeb.chant.response.PickingProductResponse;
import com.zbkj.crmeb.merchant.api.response.AppletPickingProductResponse;
import com.zbkj.crmeb.merchant.api.response.FrontPickingResponse;
import com.zbkj.crmeb.store.response.StoreCartResponse;

import java.util.List;

/**
 * <p>
 * 商户批采单表 服务类
 * </p>
 *
 * @author wuzp
 * @since 2022-05-19
 */
public interface ChannelPickingService extends IService<ChannelPicking> {

    PageInfo<ChannelPicking> getMerPickingList(PickingListRequest request, Integer merId);

    CommonResult<String> savePicking(SavePickingRequest request);

    CommonResult<String> deletePicking(Integer id, Integer merId);

    PageInfo<PickingProductResponse> getProducts(PickingProductsRequest request);

    List<ChannelPicking> getMerPickingDropList(Integer type, Integer merId);

    PageInfo<FrontPickingResponse> getPickingList(Integer merId, PageParamRequest pageParamRequest);

    PageInfo<AppletPickingProductResponse> getPickingProducts(Integer pickingId, Integer merId, PageParamRequest pageParamRequest);

    List<StoreCartResponse> getPickingCart(Integer pickingId, Integer merId);

}
